
//
//  PXL_ZodiacViewController.m
//  Weather
//
//  Created by dllo on 15/10/21.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import "ZodiacViewController.h"
#import "FDCalendar.h"

@interface ZodiacViewController ()

@end

@implementation ZodiacViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    UILabel *textLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 60, 44)];
    textLabel.text = @"日历";
    textLabel.textColor = [UIColor whiteColor];
    self.navigationItem.titleView = textLabel;
    
    self.navigationController.navigationBar.barTintColor = [UIColor colorWithRed:54 / 255.0 green:59 / 255.0 blue:60 / 255.0 alpha:1];
    FDCalendar *calendar = [[FDCalendar alloc] initWithCurrentDate:[NSDate date]];
    calendar.frame = CGRectMake(0, 64, self.view.frame.size.width, 600);
    [self.view addSubview:calendar];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
